package com.yanboo.generator.config;


public class DataSourceKeyHolder {

    private static final ThreadLocal<String> MultipleDS=new ThreadLocal<>();

    public static void set(String ds) {
        MultipleDS.set(ds);
    }

    public static String get() {
        return MultipleDS.get();
    }

    public static void clear() {
        MultipleDS.remove();
    }

}
